<?php namespace Wx\Model;

use Hdphp\Model\Model;

class Menu extends Model
{


	public function __construct()
	{
		//临时改变配置项的表前缀
		Config::set('database.prefix','wx_');
	}


	protected $table='button';

	protected $validate = array( 
			array('name','required','菜单名称不能为空'),
		); 

	protected $auto=array(
		);
}